package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the YZR_PHAR_STOCK database table.
 * 
 */
@Entity
@Table(name="YZR_PHAR_STOCK")
@NamedQuery(name="YzrPharStock.findAll", query="SELECT y FROM YzrPharStock y")
public class YzrPharStock implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	//@SequenceGenerator(name="YZR_PHAR_STOCK_PHARSTOCKID_GENERATOR", sequenceName="SEQHIS")
	//@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="YZR_PHAR_STOCK_PHARSTOCKID_GENERATOR")
	@Column(name="PHAR_STOCK_ID")
	private String pharStockId;

	@Column(name="MAI_MONEY")
	private BigDecimal maiMoney;

	@Temporal(TemporalType.DATE)
	@Column(name="PHAR_STOCK_BAOZHIQI")
	private Date pharStockBaozhiqi;

	@Column(name="PHAR_STOCK_BATCHNUMBER")
	private String pharStockBatchnumber;

	@Column(name="PHAR_STOCK_GUIGE")
	private String pharStockGuige;

	@Temporal(TemporalType.DATE)
	@Column(name="PHAR_STOCK_MED_DATE")
	private Date pharStockMedDate;

	@Column(name="PHAR_STOCK_MED_ID")
	private String pharStockMedId;

	@Column(name="PHAR_STOCK_MED_KIND")
	private String pharStockMedKind;

	@Column(name="PHAR_STOCK_MED_NAME")
	private String pharStockMedName;

	@Column(name="PHAR_STOCK_MED_NUMBER")
	private BigDecimal pharStockMedNumber;

	@Column(name="PHAR_STOCK_MONEY")
	private BigDecimal pharStockMoney;

	@Column(name="PHAR_STOCK_PRICE")
	private BigDecimal pharStockPrice;

	@Column(name="PHAR_STOCK_STORE_ID")
	private String pharStockStoreId;

	@Column(name="PHAR_STOCK_UNIT")
	private String pharStockUnit;

	public YzrPharStock() {
	}

	public String getPharStockId() {
		return this.pharStockId;
	}

	public void setPharStockId(String pharStockId) {
		this.pharStockId = pharStockId;
	}

	public BigDecimal getMaiMoney() {
		return this.maiMoney;
	}

	public void setMaiMoney(BigDecimal maiMoney) {
		this.maiMoney = maiMoney;
	}

	public Date getPharStockBaozhiqi() {
		return this.pharStockBaozhiqi;
	}

	public void setPharStockBaozhiqi(Date pharStockBaozhiqi) {
		this.pharStockBaozhiqi = pharStockBaozhiqi;
	}

	public String getPharStockBatchnumber() {
		return this.pharStockBatchnumber;
	}

	public void setPharStockBatchnumber(String pharStockBatchnumber) {
		this.pharStockBatchnumber = pharStockBatchnumber;
	}

	public String getPharStockGuige() {
		return this.pharStockGuige;
	}

	public void setPharStockGuige(String pharStockGuige) {
		this.pharStockGuige = pharStockGuige;
	}

	public Date getPharStockMedDate() {
		return this.pharStockMedDate;
	}

	public void setPharStockMedDate(Date pharStockMedDate) {
		this.pharStockMedDate = pharStockMedDate;
	}

	public String getPharStockMedId() {
		return this.pharStockMedId;
	}

	public void setPharStockMedId(String pharStockMedId) {
		this.pharStockMedId = pharStockMedId;
	}

	public String getPharStockMedKind() {
		return this.pharStockMedKind;
	}

	public void setPharStockMedKind(String pharStockMedKind) {
		this.pharStockMedKind = pharStockMedKind;
	}

	public String getPharStockMedName() {
		return this.pharStockMedName;
	}

	public void setPharStockMedName(String pharStockMedName) {
		this.pharStockMedName = pharStockMedName;
	}

	public BigDecimal getPharStockMedNumber() {
		return this.pharStockMedNumber;
	}

	public void setPharStockMedNumber(BigDecimal pharStockMedNumber) {
		this.pharStockMedNumber = pharStockMedNumber;
	}

	public BigDecimal getPharStockMoney() {
		return this.pharStockMoney;
	}

	public void setPharStockMoney(BigDecimal pharStockMoney) {
		this.pharStockMoney = pharStockMoney;
	}

	public BigDecimal getPharStockPrice() {
		return this.pharStockPrice;
	}

	public void setPharStockPrice(BigDecimal pharStockPrice) {
		this.pharStockPrice = pharStockPrice;
	}

	public String getPharStockStoreId() {
		return this.pharStockStoreId;
	}

	public void setPharStockStoreId(String pharStockStoreId) {
		this.pharStockStoreId = pharStockStoreId;
	}

	public String getPharStockUnit() {
		return this.pharStockUnit;
	}

	public void setPharStockUnit(String pharStockUnit) {
		this.pharStockUnit = pharStockUnit;
	}

}